export class QrCodeWidgetData {
  type: string
  initW: number
  initH: number
  x: number
  y: number
  width: number
  height: number
  active: boolean
  zIndex: number
  content: string
  codeColor: string
  config: object

  constructor(config: object = {}) {
    this.type = 'qrCode'
    this.initW = 80
    this.initH = 80
    this.x = 10
    this.y = 10
    this.width = 80
    this.height = 80
    this.active = true
    this.zIndex = 0
    this.content = 'http://san-show.com'
    this.codeColor = '#000000'
    this.config = config
  }
}
